<!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
<h1><a href="<?php echo lib_admin::base()?>"><span>Woosau管理后台</span></a></h1>

<!-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with uppercase to have the same effect with disabled stylesheet -->
<ul id="mainNav">
	<?php foreach (project::config('menu')->admin['main'] as $k=>$main):?>
	<li><a href="<?php echo lib_admin::base($main[1])?>" id="<?php echo $k?>"><?php echo $main[0]?></a></li>
	<?php endforeach;?>
	<li class="logout"><a href="/">前台首页</a></li>
	<li class="logout"><a href="/sign/logout" onclick="return confirm('注销?')">注销</a></li>
	<li class="logout"><a href="<?php echo $referer?>">后退</a></li>
</ul>
<!-- // #end mainNav -->